package com.sphd.emanu.activity.addgoodfrom;

import android.content.Context;

import com.sphd.emanu.mvp.BasePresenter;
import com.sphd.emanu.mvp.BaseView;
import com.sphd.emanu.pojo.CategoryAndStorageEntity;
import com.sphd.emanu.pojo.goods.Category;

import retrofit2.http.Query;

/**
 * MVPPlugin
 *  邮箱 784787081@qq.com
 */

public class AddGoodFromContract {
    interface View extends BaseView {

        void setRes(int res);

        void setEntity(CategoryAndStorageEntity categoryAndStorageEntity);

        void setCate(Category category);
    }

    interface  Presenter extends BasePresenter<View> {
        
        void selectNextCategory(Integer id);
        void categorAndStorage(int org,Integer id);
       void addComposition(int id,String name, String specifications,
                       String model, Integer amount,int mId);
        void updateComposition(int id,String name, String specifications,
                       String model, Integer amount);
    }
}
